package cn.com.git.workflow.service.dto;

import cn.com.git.common.base.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
/**
  * WorkFlowConfig save dto
  * @author zhangzhenfu
  * @Description
  * @date 2020/5/28
*/
@Data
public class WorkFlowConfigSaveDTO extends BaseDTO {

    @ApiModelProperty(value = "主表单")
    @NotNull(message = "表单不能为空")
    private WorkFlowConfigSaveDTO.WorkFlowConfig m;

    @Data
    public static class WorkFlowConfig {
        @ApiModelProperty(value = "主键")
        private Integer id;
    }

}